<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box{
            width:248px;
            margin-left: 20%;
            box-shadow: 10px 10px 10px 10px #ddd;
        }
        .shang{
            width: 248px;
            height: 240px;
            background:brown;
            color: white;
        }
        .shang div:nth-child(1){
            height: 50px;
            font-size: 14px;
            text-align: center;
            line-height: 50px;
        }
        .shang div:nth-child(2){
            height: 80px;
            font-size: 25px;
            text-align: center;
            line-height: 80px;
        }
        .shang div:nth-child(3){
            height: 50px;
            font-size: 18px;
            text-align: right;
            margin-right: 30px;
            line-height: 50px;
        }
        .xia{
            width: 248px;
            height: 120px;
            background:green;
            text-align: center;
            line-height: 80px;
        }
    </style>
</head>
<body>
    <div class="box">
        <div class="shang"> 
          <div>生活总是充满了乐趣</div>
           <div>聊聊我的大学室友</div>
          <div>@张三 著</div>
        </div>
        <div class="xia">那些回忆，那些事。。。</div>
</div>
</body>
</html>